<div class="row-fluid">
    <div class="box-bar-post border-last">
        <ul class="title-post">
            <li class="firt-bai-viet"><a href="#" title="<?php echo lang('baiviet');?>"><?php echo lang('baiviet');?></a></li>
            <li><h2><a href="<?php echo DOMAIN;?><?php echo $cat['Catalogue']['link'];?>" title="<?php echo $cat['Catalogue']['name'];?>"><?php echo $cat['Catalogue']['name'];?></a></h2></li>
        </ul>
        <div class="clear-content"></div>
        <div class="row-fluid">
            <?php 
                if(!empty($News)){
                    foreach($News as $value){
            ?>
                <div class="box-new-list-content content-tin">
                    <a href="<?php echo DOMAIN.'detail/'.$value['News']['link'];?>.html" title="<?php echo $value['News']['name'];?>">
                        <img src="<?php echo DOMAIN;?>img/w250/<?php echo $value['News']['images'];?>" class="span5 imgf" title="<?php echo $value['News']['name'];?>" alt="<?php echo $value['News']['name'];?>"/>
                    </a>
                    <a href="<?php echo DOMAIN.'detail/'.$value['News']['link'];?>.html" title="<?php echo $value['News']['name'];?>">
                        <h3><?php echo shortDesc($value['News']['name'], 100);?></h3>
                    </a>
                    <div class="user-post-date">
                        <?php if(!empty($value['News']['user_id'])){?>
                            <a href="#" type="User post">Admin</a> | Date
                        <?php }else{?>
                            <a href="<?php echo DOMAIN;?>profile" type="User post">Admin</a> | Date
                        <?php }?> 
                        <?php echo date('d-m-Y', strtotime($value['News']['modified'])); ?>
                    </div>
                    <div class="view-cmt-like">
                        <img src="<?php echo DOMAIN;?>images/icon-view.png"/> <?php echo $value['News']['view'];?>&nbsp;&nbsp;
                        <img src="<?php echo DOMAIN;?>images/icon-cmt.png"/> <?php echo $value['News']['cmt'];?>&nbsp;&nbsp;
                        <img src="<?php echo DOMAIN;?>images/icon-like.png"/> <?php echo $value['News']['like'];?>
                    </div>
                    <div class="shortdes">
                        <?php echo shortDesc($value['News']['shortdes'], 300);?>
                    </div>
                    <div class="readmore">
                        <a href="<?php echo DOMAIN.'detail/'.$value['News']['link'];?>.html" title="<?php echo $value['News']['name'];?>">
                            Read more
                        </a>
                    </div>
                </div>
                <div class="clear-content" style="border-bottom: 1px solid #dedede;"></div>
                <div class="clear-content"></div>
            <?php }}else echo 'Đang cập nhật !';?>
        </div>
    </div>
</div>  
<div class="clear-content"></div>